﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Shopping_Order.aspx.cs"
    Inherits="V5_EShop._Template.Default.Shopping_Order" %>

<%@ Import Namespace="V5_Common" %>
<%@ Register Src="Controls/getHeader.ascx" TagName="getHeader" TagPrefix="mm" %>
<%@ Register Src="Controls/getHeader2.ascx" TagName="getHeader2" TagPrefix="mm" %>
<%@ Register Src="Controls/getFooter.ascx" TagName="getFooter" TagPrefix="mm" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="/_Template/<%=config.TemplatePath %>/css/init.css" />
    <link rel="stylesheet" type="text/css" href="/_Template/<%=config.TemplatePath %>/css/head.css" />
    <link rel="stylesheet" type="text/css" href="/_Template/<%=config.TemplatePath %>/css/Shopping_Order.css" />
    <title>
        <%=config.SiteTitle %>-订购成功</title>
</head>
<body>
    <form id="form1" runat="server">
    <div id="page">
        <mm:getHeader2 ID="getHeader2" runat="server" />
        <div class="clear">
        </div>
        <div class="content">
            <div class="logo">
                <img src="/_Template/<%=config.TemplatePath%>/images/Detail_cart/LOGO.gif" width="200"
                    height="51"></div>
            <div class="Process">
                <ul>
                    <li class="li_02">1.购物车</li>
                    <li>
                        <img src="/_Template/<%=config.TemplatePath%>/images/Detail_cart/Arrow.gif" width="20"
                            height="16"></li>
                    <li class="li_02">2、确认订单信息</li>
                    <li>
                        <img src="/_Template/<%=config.TemplatePath%>/images/Detail_cart/Arrow.gif" width="20"
                            height="16"></li>
                    <li class="li_01"><span>3、订购成功</span></li>
                </ul>
            </div>
            <div class="clear">
            </div>
            <div class="History">
                <div class="History_left">
                    <span class="History_font">收货人信息<a href="Shopping_Address.aspx?id=<%=area.id%>" target="_blank"
                        class="Modify_01">修改</a></span>
                    <ul>
                        <li>收货姓名：
                            <%=area.tousername %></li>
                        <li>收货地区：
                            <%=area.touserareapro %>
                            <%=area.touserareacity %>
                            <%=area.touserareacity2%></li>
                        <li>收货地址：
                            <%=area.touserurl %></li>
                        <li>邮政编码：
                            <%=area.topostnum %></li>
                        <li>固定电话：
                            <%=area.touserphone %></li>
                        <li>移动电话：
                            <%=area.tousertelephone %></li>
                    </ul>
                    <span class="History_font">配送方式</span>
                    <ul>
                        <li>北京市地区由本公司配送，外地由快递配送。</li>
                    </ul>
                    <span class="History_font">支付方式<a href="Shopping_pay.aspx?addressid=<%=area.id %>"
                        target="_blank" class="Modify_02">修改</a></span>
                    <ul>
                        <li>
                            <%
                                string tempstr1 = "";
                                switch (payid)
                                {
                                    case 1:
                                        tempstr1 = "货到付款";
                                        break;
                                    case 2:
                                        tempstr1 = "在线支付-快付宝";
                                        break;
                                    case 3:
                                        tempstr1 = "在线支付-支付宝";
                                        break;
                                    case 4:
                                        tempstr1 = "在线支付-快钱支付";
                                        break;
                                    case 5:
                                        tempstr1 = "在线支付-工行支付";
                                        break;
                                    case 6:
                                        tempstr1 = "邮政汇款";
                                        break;
                                }
                                Response.Write(tempstr1);
                            %>
                        </li>
                    </ul>
                    <span class="History_font">送货时间<a href="Shopping_pay.aspx?addressid=<%=area.id %>"
                        target="_blank" class="Modify_02">修改</a></span>
                    <ul>
                        <li>
                            <%
                                string tempstr2 = "";
                                switch (sendid)
                                {
                                    case 1:
                                        tempstr2 = "工作日、双休日与节假日均可送货";
                                        break;
                                    case 2:
                                        tempstr2 = "只有双休日、假日送货（工作日不用送货）";
                                        break;
                                    case 3:
                                        tempstr2 = "只有工作日送货（双休日、假日不用送）";
                                        break;
                                    case 4:
                                        tempstr2 = "学校地址（该地址白天没人，请尽量安排其他时间送货）";
                                        break;
                                }
                                Response.Write(tempstr2);
                            %></li>
                    </ul>
                </div>
                <div class="History_right">
                    <div class="invoice">
                        <h2>
                            您需要开具发票吗？</h2>
                        <span class="yn">
                            <asp:RadioButton ID="rbtnfa1" runat="server" CssClass="radio_01" GroupName="fapiao" />
                            是
                            <asp:RadioButton ID="rbtnfa2" runat="server" CssClass="" GroupName="fapiao" Checked="true" />
                            否</span> <span class="yn">发票始头：</span>
                        <asp:TextBox ID="txtFaStartTitle" runat="server" CssClass="textfield_01"></asp:TextBox>
                        <span class="yn">发票内容：
                            <asp:DropDownList ID="ddl_FaPiaoContent" runat="server">
                                <asp:ListItem Value="服装" Text="服装"></asp:ListItem>
                            </asp:DropDownList>
                        </span>
                    </div>
                    <div class="invoice">
                        <h2>
                            需要附加说明吗？</h2>
                        <span class="yn">如有请留言：</span>
                        <asp:TextBox ID="txtOtherContent" runat="server" CssClass="textarea_01"></asp:TextBox>
                    </div>
                    <a href="../product/Detail.html" target="_blank">
                        <img src="/_Template/<%=config.TemplatePath%>/images/Detail_cart/pic.gif" width="205"
                            height="220"></a>
                </div>
                <div class="clear">
                </div>
            </div>
            <div class="Inventory">
                <h2>
                    产品清单<a href="/shoppingcart.aspx">回到购物车，修改产品>></a></h2>
                <ul class="Classification">
                    <li class="Class_01">商品</li>
                    <li class="Class_02">商品名称</li>
                    <li class="Class_03">规格</li>
                    <li class="Class_03">赠送积分</li>
                    <li class="Class_03">单价</li>
                    <li class="Class_03">数量</li>
                    <li class="Class_03">优惠</li>
                    <li class="Class_03">小计</li>
                    <li class="Class_03">操作</li>
                    <div class="clear">
                    </div>
                </ul>
                <asp:Repeater ID="rpShoppingList" runat="server">
                    <ItemTemplate>
                        <ul class="Data">
                            <li class="Class_01_01"><a href="product-details-<%# DataBinder.Eval(Container.DataItem,"pid")%>.<%=config.UrlRewrite %>"
                                target="_blank">
                                <img src="<%# Helper.Replace(DataBinder.Eval(Container.DataItem,"propic").ToString(),"productm","products") %>"
                                    width="60" height="60"></li>
                            <li class="Class_02_01"><a href="product-details-<%# DataBinder.Eval(Container.DataItem,"pid")%>.<%=config.UrlRewrite %>"
                                target="_blank">
                                <%#DataBinder.Eval(Container.DataItem, "proname")%></a></li>
                            <li class="Class_03_01">
                                <%#DataBinder.Eval(Container.DataItem, "profieldvalues")%></li>
                            <li class="Class_03_01"><%#DataBinder.Eval(Container.DataItem, "proscore")%>分</li>
                            <li class="Class_03_01"><%#DataBinder.Eval(Container.DataItem,"promemberprice") %>元</li>
                            <li class="Class_03_01">
                                <%# DataBinder.Eval(Container.DataItem,"proquantity")%>
                            </li>
                            <li class="Class_03_01">无</li>
                            <li class="Class_03_01">
                                <%# DataBinder.Eval(Container.DataItem, "prototalprice")%>元</li>
                            <li class="Class_03_01">
                                <img src="/_Template/<%=config.TemplatePath%>/images/Detail_cart/sc.jpg" width="16"
                                    height="16"></li>
                            <div class="clear">
                            </div>
                        </ul>
                    </ItemTemplate>
                </asp:Repeater>
                <ul class="Information">
                    <li>商品数量总计：<span><%= Product_Count %>件</span></li>
                    <li>赠送积分总计：<span><%= Product_Jifen %>分</span></li>
                    <%--<li>花费积分总计：<span>984分</span></li>--%>
                    <li class="Information_li">产品金额总计：<span><%= Product_Money %>分</span></li>
                    <div class="clear">
                    </div>
                </ul>
            </div>
            <span class="Determine">请核对以上信息，确认无误后点击“提交订单<asp:ImageButton ID="ibtnGoPaySucc" ImageUrl="/_template/default/images/Detail_cart/tijiao.gif"
                runat="server" Width="117" Height="32" /></span>
        </div>
        <mm:getFooter ID="getFooter1" runat="server" />
    </div>
    </form>
</body>
</html>
